#pragma once
#include "stdafx.h"
#include "hoi3data.h"
using namespace hoi3;

//**********  mdata  **********;
//constructor;
mdate::mdate(void)
{
	m_Year = 1930;
	m_Month = 1;
	m_Day = 1;
}

int mdate::setDate(int iYear, int iMonth, int iDay)
{
	this->m_Year = iYear;
	this->m_Month = iMonth;
	this->m_Day = iDay;
	return 0;
}

int mdate::get_year()
{
	return m_Year;
}

int mdate::get_month()
{
	return m_Month;
}

int mdate::get_day()
{
	return m_Day;
}
int mdate::check()
{
	return 0;
}
//destructor;
mdate::~mdate()
{
}


mdate& mdate::operator= (const mdate& source)
{
	this->m_Day = source.m_Day;
	this->m_Month = source.m_Month;
	this->m_Year = source.m_Year;
	return *this;
}
//**********  mdata  **********;
